package com.gp.learn.ssm.base.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.gp.learn.ssm.base.core.mybaits.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 系统权限-用户关联
 * @author gp
 * @since 2020-08-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_authority_user")
@ApiModel(value="BaseAuthorityUser对象", description="系统权限-用户关联")
public class BaseAuthorityUser extends AbstractEntity {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "权限ID")
    @TableField("authorityId")
    private Long authorityId;

    @ApiModelProperty(value = "用户ID")
    @TableField("userId")
    private Long userId;

    @ApiModelProperty(value = "过期时间")
    @TableField("expireTime")
    private Date expireTime;


}
